package com.cldz.feign;

import com.cldz.config.FeignConfiguration;
import com.cldz.common.dto.req.FsuChannelDto;
import com.cldz.response.support.ServerResponse;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @ Author     ：lixiao.
 * @ Date       ：Created in 13:59 2018/12/25
 * @ Description：
 * @ Modified By：
 */
@FeignClient(name = "data" ,configuration = FeignConfiguration.class)
public interface FsuChannelFeign {

    @RequestMapping(value = "/fsuRegulatChannel",method = RequestMethod.GET)
    ServerResponse getFsuRegulatChannel(FsuChannelDto fsuChannelDto);

    @RequestMapping(value = "/fsuControlChannel",method = RequestMethod.GET)
    ServerResponse getFsuControlChannel(FsuChannelDto fsuChannelDto);


}
